<template>
  <div>
    <el-button type="primary" class="btn" @click="add">添加</el-button>
    <v-list></v-list>
    <v-form></v-form>
  </div>
</template>

<script>
import vList from "./components/list.vue";
import vForm from "./components/form.vue";
import { mapGetters, mapActions } from "vuex";
export default {
  components: { vList, vForm },
  data() {
    return {
      // tableData1: []
    };
  },
  computed: {
    ...mapGetters({
      info: "seckill/info"
    })
  },
  methods: {
    ...mapActions({

    }),
    add(){
      this.info.isshow = true
      this.info.isadd = true
    }
  }
};
</script>

<style>
</style>